let { request_3031, request_3001 } = require("../../utils/https.js");

module.exports = {
//  渠道客户新增
  addQdinfo:(data)=>{
    return request_3001({
      url:`/attract/channel/qdinfo`,
      method:'post',
      data
    })
  },
  addLxrqd:(data)=>{
    return request_3001({
      url:`/attract/channel/lxrb`,
      method:'post',
      data
    })
  },
  editQdinfo:(data)=>{
    return request_3001({
      url:`/attract/channel/editqdinfo`,
      method:'post',
      data
    })
  },
  editLxrqd:(data)=>{
    return request_3001({
      url:`/attract/channel/editlxrb`,
      method:'post',
      data
    })
  },
  channel: (arr,id) => {
    return request_3001({
      url: `/attract/channel?arr=${arr}&id=${id}`,
      method: "get",
    });
  }, 
  // 先打卡
  addzcGj: (data) => {
    return request_3001({
      url: `/attract/channel/addzcGj`,
      method: "post",
      data
    });
  },
     // 跟进theone
     theonefollow: (data) => {
      console.log(data)
      return request_3001({
        url: `/attract/channel/theonefollow`,
        method: "POST",
        data
      })
    },
     // 跟进file
     hgjfilesfollow: (data) => {
      console.log(data)
      return request_3001({
        url: `/attract/channel/hgjfilesfollow`,
        method: "POST",
        data
      })
    },
    
    followBC:(data)=>{
      return request_3001({
        url:`/attract/channel/followBC`,
        method:'post',
        data
      })
    },
    follow:(data)=>{
      return request_3001({
        url:`/attract/channel/follow`,
        method:'post',
        data
      })
    },
};
